import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {RouterModule, Routes} from "@angular/router";
import {LineUpListComponent} from "./line-up-list/line-up-list.component";
import {LineUpSubmitComponent} from "./line-up-submit/line-up-submit.component";
let lineUpRouting: Routes = [
  {path: '', redirectTo: 'line-up-list', pathMatch: 'full'}
  , {path: 'line-up-list', component: LineUpListComponent} // 排队列表
  , {path: 'line-up-submit', component: LineUpSubmitComponent} // 排队记录添加
];
@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(lineUpRouting)
  ],
  declarations: [],
  exports: [RouterModule]
})
export class LineUpRoutingModule { }
